"""
医疗场景基类
"""

from abc import ABC, abstractmethod
from typing import Dict, Any

class MedicalScene(ABC):
    """医疗场景基类"""
    
    def __init__(self, scene_id: str, name: str, description: str):
        self.scene_id = scene_id
        self.name = name
        self.description = description
    
    @abstractmethod
    def process(self, image_data, **kwargs) -> Dict[str, Any]:
        """
        处理图像数据的抽象方法
        
        Args:
            image_data: 图像数据
            **kwargs: 处理参数
            
        Returns:
            Dict[str, Any]: 处理结果
        """
        pass
    @abstractmethod
    def validate_input(self, image_data) -> bool:
        """验证输入数据"""
        pass
    